﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PPIDesktopClient.Entities
{
    public class ECentralOffice : EBasePosition
    {
        private Int32 m_Id;
        private string m_Name;

        public Int32 Id
        {
          get
          {
            return m_Id;
          }
          set
          {
            m_Id = value;
          }
        }
        public string Name
        {
          get
          {
            return m_Name;
          }
          set
          {
            m_Name = value;
          }
        }

        public ECentralOffice()
            :base()
        {
            m_Id = Int32.MinValue;
            m_Name = string.Empty;
        }

        public ECentralOffice(int id)
        :this()
        {
            m_Id = id;
        }

        public ECentralOffice(int id, string name, double latitude, double longitude)
        :this(id)
        {
            m_Name = name;
            Latitude = latitude;
            Longitude = longitude;
        }
        public ECentralOffice(int id, string name, double latitude, double longitude, string address)
            : this(id,name,latitude,longitude)
        {
            Address = address;
        }

    }
}
